import '@/utils/i18n'
import React from 'react'
import ReactDOM from 'react-dom'
import { getUrlParams } from '@/utils'
import { Layout } from './components/Layout'
import { GlobalStyle } from './style'
import ShareView from './ShareView'

const meetingMoid = getUrlParams('conf_id') ?? ''

ReactDOM.render(
	<React.StrictMode>
		<GlobalStyle />
		<Layout>
			<ShareView meetingMoid={meetingMoid} />
		</Layout>
	</React.StrictMode>,
	document.getElementById('root')
)
